﻿using System;
using System.Web;
using System.Security.Cryptography;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Collections;

namespace   NxPartyAffairsOpen.Models
{
    public class InformationModel
    {

        private Guid _InfoGuid;
        public Guid InfoGuid
        {
            get
            {
                return _InfoGuid;
            }
            set
            {
                _InfoGuid = value;
            }
        }
        private string _Title;
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                _Title = value;
            }
        }
        private string _SubTitle;
        public string SubTitle
        {
            get
            {
                return _SubTitle;
            }
            set
            {
                _SubTitle = value;
            }
        }
        private string _Author;
        public string Author
        {
            get
            {
                return _Author;
            }
            set
            {
                _Author = value;
            }
        }
        private string _Content;
        public string Content
        {
            get
            {
                return _Content;
            }
            set
            {
                _Content = value;
            }
        }
        private DateTime _CreateTime;
        public DateTime CreateTime
        {
            get
            {
                return _CreateTime;
            }
            set
            {
                _CreateTime = value;
            }
        }
        private DateTime _ShowTime;
        public DateTime ShowTime
        {
            get
            {
                return _ShowTime;
            }
            set
            {
                _ShowTime = value;
            }
        }
        private string _ShortTitle;
        public string ShortTitle
        {
            get
            {
                return _ShortTitle;
            }
            set
            {
                _ShortTitle = value;
            }
        }
        private List<AttachmentModel> _AttachmentList;
        public List<AttachmentModel> AttachmentList
        {
            get
            {
                return _AttachmentList;
            }
            set
            {
                _AttachmentList = value;
            }
        }
        private string _BackNvarchar1;
        public string BackNvarchar1
        {
            get
            {
                return _BackNvarchar1;
            }
            set
            {
                _BackNvarchar1 = value;
            }
        }
        private string _GroupName;
        public string GroupName
        {
            get
            {
                return _GroupName;
            }
            set
            {
                _GroupName = value;
            }
        }
        private string _ImgFile;
        public string ImgFile
        {
            get
            {
                return _ImgFile;
            }
            set
            {
                _ImgFile = value;
            }
        }

        private Dictionary<string, string> _ExtInfo;
        public Dictionary<string, string> ExtInfo
        {
            get
            {
                return _ExtInfo;
            }
            set
            {
                _ExtInfo = value;
            }
        }
        public InformationModel()
        {

            _InfoGuid = Guid.Empty;
            _Title = string.Empty;
            _ShortTitle = string.Empty;
            _SubTitle = string.Empty;
            _Author = string.Empty;
            _Content = string.Empty;
            _CreateTime = DateTime.MinValue;
            _ShowTime = DateTime.MinValue;
            _AttachmentList = new List<AttachmentModel>();
            _BackNvarchar1 = string.Empty;
            _GroupName = string.Empty;

            _ExtInfo = new Dictionary<string, string>();
        }
    }
}